<template>
  <div>
    首页
    <input type="text" v-model="txt">
  </div>
</template>

<script setup>
import { ref } from 'vue';
import { useRandom } from "../tools/randomColor.js";
const txt = ref("hello")

const obj = useRandom();

console.log(obj)
console.log(obj.color.value)
console.log(obj.random(1,200));
</script>